package services.robot.common

import org.jsoup.Jsoup
import org.jsoup.select.Elements

abstract class SiteUnit(val url: String) {
  def document = Jsoup.connect(url).timeout(100000).get()
  protected def $(query: String) : Elements = document.select(query)
}